apply any dataset in genetic algorithm